package com.xzq.springframework.beans.factory;


import com.xzq.springframework.beans.BeansException;

/**
 *  ioc容器的顶层接口
 */
public interface BeanFactory {


    Object getBean(String beanName) throws BeansException;

    Object getBean(String beanName, Object... args) throws BeansException;

    <T> T getBean(String beanName, Class<T> requireType) throws BeansException;

}
